export const KEY_USER_ID = 'userId';
export const KEY_ROUTE_KEY = 'routeKey';
export const KEY_ROUTE_DISTANCE = 'routeDistance';
export const KEY_AUTH_TOKEN = 'authToken';
export const KEY_LEAD_HINT = 'lead_hint';

export const STATUS_LOGIN_LOGINED = 'logined';
export const STATUS_LOGIN_LOGINING = 'logining';
export const STATUS_LOGIN_LOGOUT = 'logout';
export const KEY_COOKIE = 'cookie';

export const LOGIN_STATUS = {
    LOGINED: 'logined',
    LOGINING: 'logining',
    LOGOUT: 'logout',
} as const;

export const API_URL = process.env.VUE_API_URL;

/** 为已经存在的订单选择地址 */
export const TYPE_SET_ORDER_ADDRESS = 'set_order_address';

export const stage = [
    {
        name: '用户',
        stage: 399 * 100,
        price: 399 * 100,
    },
    {
        name: '会员',
        stage: 10000 * 100,
        price: 299 * 100,
    },
    {
        name: '服务商',
        stage: 300000 * 100,
        price: 199 * 100,
    },
    {
        stage: 99999999,
        price: 149 * 100,
    },
];

export const STORE_ORDER_GOOD = 'store_order_good';
export const STORE_CART_GOOD = 'store_cart_good';

export const ROUTE_NAME = {
    ADDRESS_ADD: 'address_add',
    ADDRESS_LIST: 'address_list',

    BRIDAL_IMAGES: 'bridal_images',
    BRIDAL_SHOP_INDEX: 'bridal_shop_index',

    FEEDBACK_INDEX: 'feedback_index',
    FEEDBACK_COMPLAINT: 'feedback_complaint',
    FEEDBACK_COMPLAINT_RESULT: 'feedback_complaint_result',

    HOME_INDEX: 'home_index',

    MALL_INDEX: 'mall_index',
    MALL_COMMENT: 'mall_comment',
    MALL_COUPON_SELECT: 'mall_coupon_select',
    MALL_FREE_PRODUCT: 'mall_free_product',
    MALL_SPEC_DETAIL: 'mall_spec_detail',

    MALL_PRODUCT_DETAIL:'mall_product_detail',

    MANAGE_CHANGE_PRICE: 'manage_change_price',
    MANAGE_ORDER_LIST: 'manage_order_list',
    MANAGE_REBATE_LIST: 'manage_rebate_list',
    MANAGE_GIFT_REVISION: 'manage_gift_revision',

    MEMBER_INDEX: 'member_index',
    MEMBER_SHARE_POSTER: 'member_share_poster',
    MEMBER_RECOMMEND_ORDER: 'member_recommend_order',
    MEMBER_REBATE_DETAIL: 'member_rebate_detail',

    MEMBER_CONSUME_LIST:'member_consume_list',
    MEMBER_RECHARGE_LIST:'member_recharge_list',
    MEMBER_RECHARGERECORE_LIST:'member_rechargeRecord_list',
    

    MERCHANT_MANAGE: 'merchant_manage',
    MERCHANT_ORDER_MANAGE: 'merchant_order_manage',
    MERCHANT_EMPLOYEE: 'merchant_employee',

    ORDER_LIST: 'order_list',
    ORDER_DETAIL: 'order_detail',
    ORDER_RESULT: 'order_result',
    ORDER_MERCHANT_MANAGE: 'order_merchant_manage',
    ORDER_MANAGE_ORDER_DETAIL: 'order_manage_order_detail',

    PARTNER_APPLY: 'partner_apply',
    PARTNER_APPLY_RATE: 'partner_apply_rate',
    PARTNER_DETAIL: 'partner_detail',
    PARTNER_INVITE_RECORD: 'partner_invite_record',
    PARTNER_TEAM: 'partner_team',
    PARTNER_LOCK_RECORD: 'partner_lock_record',
    PARTNER_LOCK_DETAIL: 'partner_lock_detail',

    PRODUCT_DETAIL: 'product_detail',
    PRODUCT_ORDER: 'product_order',

    SHOP_COMMENT:'shop_comment',

    PKG_COMMENT: 'pkg_comment',
    PKG_DETAIL: 'pkg_detail',
    PKG_ORDER: 'pkg_order',
    PKG_REVISION: 'pkg_revision',

    PLATFORM_LEADER_BOARD: 'platform_leader_board',
    PLATFORM_MANAGE: 'platform_manage',

    REBATE_DETAIL: 'rebate_detail',

    SHOP_LIST: 'shop_list',
    SHOP_PRODUCT: 'shop_product',
    SHOP_CATEGORY: 'shop_category',
    HOME_SHOP_CATEGORY: 'home_shop_category',
    SHOP_BRIDAL: 'shop_bridal',
    SHOP_CART: 'shop_cart',

    STAFF_MANAGE: 'staff_manage',

    USER_ACCOUNT: 'user_account',
    USER_HOME: 'user_home',
    USER_INVITE: 'user_invite',
    USER_WITHDRAW_APPLY: 'withdraw_apply',
    USER_MOBILE: 'user_mobile',
    USER_WECHAT_SERVICE: 'user_wechat_service',
    USER_ACCOUNT_EDIT: 'user_account_edit',
    USER_WITHDRAW_ORDER: 'user_withdraw_order',

    UTILS_WEB: 'utils_web',
};

export const TABBAR_PAGES = [];

export const EMPTY_LIST = {
    list: [],
    loaded: false,
    req: false,
};
